import request from '@/utils/request'
export const getMachineListApi=(query)=>{
  return request ({
    url:'/module/machine/list',
    method:'GET',
params:query,
  })
}

//机器记录id
export const getMachineRecordApi=(query)=>{
  return request({
    url:'/module/machineRecord/listByMachine',
    method:"GET",
    params:query
  })
}

export const modifyMachineApi=(data)=>{
  return request({
    url:'/module/machine',
    method:"put",
    data
  })
}

// 订单入库记录
export function getorderMachineList(query){
  return request({
    url:'/module/machineRecord/list',
    methods:'GET',
    params:query
  })
}

